<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title>should_filter_by_language</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr>
<td rowspan="1" colspan="3">should_filter_by_language</td>
</tr>
</thead>
<tbody>
<tr>
	<td>open</td>
	<td>/organizations/test-org/quality_profiles</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=.quality-profiles-table .data[data-language=&quot;xoo&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>css=.quality-profiles-table .data[data-language=&quot;xoo2&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=.js-language-filter</td>
	<td>*All*</td>
</tr>
<tr>
	<td>click</td>
	<td>css=.js-language-filter</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=.js-language-filter-option[data-language=&quot;xoo2&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=.js-language-filter-option[data-language=&quot;xoo2&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementNotPresent</td>
	<td>css=.quality-profiles-table[data-language=&quot;xoo&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>css=.quality-profiles-table .data[data-language=&quot;xoo2&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=.js-language-filter</td>
	<td>*Xoo2*</td>
</tr>
<tr>
	<td>open</td>
	<td>/organizations/test-org/quality_profiles?language=xoo2</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=.quality-profiles-table .data[data-language=&quot;xoo2&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>css=.quality-profiles-table[data-language=&quot;xoo&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=.js-language-filter</td>
	<td>*Xoo2*</td>
</tr>
</tbody>
</table>
</body>
</html>
